//
//  BaseViewController.m
//  PiankeTest
//
//  Created by 邹浩 on 15/12/11.
//  Copyright © 2015年 蓝鸥. All rights reserved.
//

#import "BaseViewController.h"
#import <objc/objc-runtime.h>
//#import "UIViewController+Flag.h"
#import "ZHNetWorkManger.h"


@implementation BaseViewController


- (void)viewDidAppear:(BOOL)animated
{
//    self.key = nil;
    //在这里调用统计；
    NSLog(@"%@", NSStringFromClass(object_getClass(self)));
    ZHNetWorkManger *mgr = [[ZHNetWorkManger alloc] init];
    [mgr requestWithUrlStr:@"http://lib.wap.zol.com.cn/ipj/docList.php?class_id=0&page=1&retina=2&last_time=2015-06-29%2018:44&vs=iph401&isReviewing=NO" success:^(id object) {
        NSLog(@"%@", object);
    } failed:^(NSError *error) {
        NSLog(@"%@", error);
    }];
    
    
    
}

@end
